#ifndef FRIENDQUESTITEM_H
#define FRIENDQUESTITEM_H

#include <QListWidget>
#include <QListWidgetItem>
#include <QWidget>
#include <QTcpSocket>
#include "userinfo.h"
#include <QMessageBox>
#include <client.h>
#include "home.h"
#include "control.h"

namespace Ui {
class friendquestItem;
}

class friendquestItem : public QWidget
{
    Q_OBJECT

public:
    friendquestItem(const QString& mess, QWidget* parent = nullptr);
    ~friendquestItem();

signals:
    void delItem();

private slots:
    void on_pushButton_yes_clicked();

    void on_pushButton_no_clicked();

private:
    Ui::friendquestItem *ui;
    QTcpSocket* tcpSocket;
};

#endif // FRIENDQUESTITEM_H
